@import './normalize.scss';
@tailwind base;
@tailwind components;
@tailwind utilities;

* {
  scroll-behavior: smooth;
}

// 滚动条样式优化
@media only screen and (min-device-width: 768px) {
  ::-webkit-scrollbar-thumb {
    background-color: rgba(130, 130, 130, 0.5);
    -webkit-border-radius: 4px;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background-color: $color-primary;
    -webkit-border-radius: 4px;
    border-radius: 4px;
  }
  ::-webkit-scrollbar {
    width: 5px;
    height: 5px;
  }
  ::-webkit-scrollbar-thumb:active {
    background-color: $color-primary;
    -webkit-border-radius: 4px;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-corner {
    background: rgba(0, 0, 0, 0);
    border-radius: 0 0 8px 0;
  }
  ::-webkit-scrollbar-button {
    background-color: rgba(0, 0, 0, 0);
    height: 2px;
    width: 2px;
  }
}
